package edu.arizona.sista.learn.evaluation;

public class InverseDistanceScore implements Score {

	Double _f1;
	
	public InverseDistanceScore(double f1){
		_f1 = f1;
	}
	
	@Override
	public int compareTo(Score arg0) {
		if( arg0 instanceof InverseDistanceScore )
			return _f1.compareTo( ((InverseDistanceScore) arg0)._f1 );
		else
			throw new RuntimeException("Cannot compare "+this.getClass()+"with "+arg0.getClass());
	}

}
